package com.bw.service.impl;

import com.bw.entity.TbDing;
import com.bw.mapper.DefinitionMapper;
import com.bw.service.DefinitionService;
import com.bw.vo.TbDingYi;
import com.bw.vo.TbType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DefinitionServiceImp implements DefinitionService {

    @Autowired
    private DefinitionMapper studentMapper;


    @Override
    public List dingyiList(String mohu) {
        return studentMapper.dingyiList(mohu);
    }

    @Override
    public TbDing update(int id) {
        return studentMapper.update(id);
    }

    @Override
    public List<TbType> typeList(String mohu) {
        return studentMapper.typeList(mohu);
    }

    @Override
    public TbType findBytype(int id) {
        return studentMapper.findBytype(id);
    }

    @Override
    public void updateBytype(TbType tbType) {
        studentMapper.updateBytype(tbType);
    }

    @Override
    public void addBytype(TbType tbType) {
        studentMapper.addBytype(tbType);
    }

    @Override
    public TbDingYi findBydingyi(int id) {
        return studentMapper.findBydingyi(id);
    }

    @Override
    public void updateBydingyi(TbDing tbDing) {
        studentMapper.updateBydingyi(tbDing);
    }

    @Override
    public void dingyiadds(TbDing tbDing) {
        studentMapper.dingyiadds(tbDing);
    }

    @Override
    public void updateBydingyiId(String id) {
        studentMapper.updateBydingyiId(id);
    }

    @Override
    public void updateBydingyiIdd(String id) {
        studentMapper.updateBydingyiIdd(id);
    }

    @Override
    public void deldingyi(String ids) {
        studentMapper.deldingyi(ids);
    }

    @Override
    public void deltype(String ids) {
        studentMapper.deltype(ids);
    }

//    @Override
//    public List getList() {
//        return studentMapper.getList();
//    }
//
//    @Override
//    public void del(int id) {
//        studentMapper.del(id);
//    }
//
//    @Override
//    public void add(Student student) {
//        studentMapper.add(student);
//    }
//
//    @Override
//    public List getClazz() {
//        return studentMapper.getClazz();
//    }
//
//    @Override
//    public Student getStudentById(int id) {
//        return studentMapper.getStudentById(id);
//    }
//
//    @Override
//    public void update(Student student) {
//        studentMapper.update(student);
//    }
}
